package com.kingdee.eas.xbang.contract;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class ContractTemplateFactory
{
    private ContractTemplateFactory()
    {
    }
    public static com.kingdee.eas.xbang.contract.IContractTemplate getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.xbang.contract.IContractTemplate)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("AAB4BB32") ,com.kingdee.eas.xbang.contract.IContractTemplate.class);
    }
    
    public static com.kingdee.eas.xbang.contract.IContractTemplate getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.xbang.contract.IContractTemplate)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("AAB4BB32") ,com.kingdee.eas.xbang.contract.IContractTemplate.class, objectCtx);
    }
    public static com.kingdee.eas.xbang.contract.IContractTemplate getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.xbang.contract.IContractTemplate)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("AAB4BB32"));
    }
    public static com.kingdee.eas.xbang.contract.IContractTemplate getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.xbang.contract.IContractTemplate)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("AAB4BB32"));
    }
}